package com.wlyuan.open.infrastructure.config;

import com.wlyuan.mybatis.query.QueryConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yuanzheng
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "api")
public class OpenApiProperties {
    @Data
    public static class Search {
        private Map<String, QueryConfig> rules = new HashMap<>();
    }

    private OpenApiCompanyProperties.Search search = new OpenApiCompanyProperties.Search();
}
